package com.steven.im.entity;

/**
 * Created by Steven on 2019/1/24.
 */
public class AdvertEntity {

    /**
     * code : 0
     * message : 获取广告信息参数成功
     * result : {"title":"测试图片","imageUrl":"http://yiyuanyungoutest.oss-cn-shanghai.aliyuncs.com/popup/1548229786315.png","showTime":"3","actionType":"toURL","isShow":"1","actionUrl":"https://www.baidu.com/"}
     */

    private String code;
    private String message;
    private ResultBean result;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public static class ResultBean {
        /**
         * title : 测试图片
         * imageUrl : http://yiyuanyungoutest.oss-cn-shanghai.aliyuncs.com/popup/1548229786315.png
         * showTime : 3
         * actionType : toURL
         * isShow : 1
         * actionUrl : https://www.baidu.com/
         */

        private String title;
        private String imageUrl;
        private String showTime;
        private String actionType;
        private String isShow;
        private String actionUrl;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getImageUrl() {
            return imageUrl;
        }

        public void setImageUrl(String imageUrl) {
            this.imageUrl = imageUrl;
        }

        public String getShowTime() {
            return showTime;
        }

        public void setShowTime(String showTime) {
            this.showTime = showTime;
        }

        public String getActionType() {
            return actionType;
        }

        public void setActionType(String actionType) {
            this.actionType = actionType;
        }

        public String getIsShow() {
            return isShow;
        }

        public void setIsShow(String isShow) {
            this.isShow = isShow;
        }

        public String getActionUrl() {
            return actionUrl;
        }

        public void setActionUrl(String actionUrl) {
            this.actionUrl = actionUrl;
        }
    }
}
